package com.yy.personalcv.service.impl;

import com.yy.personalcv.mapper.UserPasswordMapper;
import com.yy.personalcv.pojo.UserPassword;
import com.yy.personalcv.service.UserPasswordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserPasswordServiceImpl implements UserPasswordService {

    @Resource
    private UserPasswordMapper userPasswordMapper;

    @Override
    public UserPassword selectByUid(Integer id) {
        return this.userPasswordMapper.selectByUid(id);
    }
}
